'''
Description: 编译器入口
Author: 天涯过客
Date: 2025-05-13 15:55:40
'''
import sys
from PyQt5.QtWidgets import QApplication
from gui import CompilerWindow
import os

#获取当前路径上一级
current_path = os.path.abspath(os.path.join(os.getcwd(), os.pardir))

# 如有问题请输出current_path检查路径
sys.path.append(current_path+"\\src")
if __name__ == "__main__":
    app = QApplication(sys.argv)
    window = CompilerWindow()
    window.show()
    sys.exit(app.exec_())